
<?php
include_once "function_sec_filter.php";

$in_array['Name'] = $_POST['Name'];
$in_array['InDev'] = $_POST['InDev'];
$in_array['OutDev'] = $_POST['OutDev'];
$in_array['SrcAddr'] = $_POST['SrcAddr'];
$in_array['DstAddr'] = $_POST['DstAddr'];
$in_array['Srv'] = $_POST['Srv'];
$in_array['Pro_L7'] = $_POST['Pro'];
$in_array['Time'] = $_POST['Time'];
$in_array['Target'] = $_POST['Target'];
$in_array['Enabled'] = $_POST['Enabled'];
$in_array['Filter_Word'] = $_POST['filter'];


SetXmlSecOneFilter($in_array, $_POST['n']);

echo("<meta http-equiv='refresh'content=0;URL='sec_policy_rule.php'>");
?>
